package telnetserver;

public class About {
    private Telnet telnet;
    private Object ret;
    
    public About(Telnet t, Object r) {
        telnet = t;
        ret = r;
    }
    
    public void addUser(User u) {
        u.setButtons(null, null);
        u.setCanWrite(false);
        u.setCanPress(true);

        FileSender f = new FileSender(telnet, u, "About.txt", ret);
        telnet.changeMode(u, f);
        f.start();
    }
}
